<%@ page language="java" import="java.util.*,java.text.*"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>高级查询</title>
		<script language="JavaScript" type="text/javascript"
			src="worklog/My97DatePicker/WdatePicker.js"></script>
		<link rel="stylesheet"
			href="worklog/My97DatePicker/skin/WdatePicker.css" type="text/css"></link>
	</head>

	<body>
		<s:form action="excelExport_worklog" method="post" namespace="/worklog">
			<table style="margin-left: 20%;margin-top: 3%" >
				<tr>
					<th colspan="3" align="left">
						今日日志导出
					</th>
				</tr>
				<tr>
					<td>
						部门：
					</td>
					<td>
						<s:select name="dept.id" list="deptList" listKey="id"
							listValue="deptName" headerKey="0" headerValue=" " theme="simple">
						</s:select>
					</td>

					<td>
						<s:submit type="image" src="worklog/images/ico_file_excel.png"
							theme="simple" label="导出"></s:submit>
					</td>
				</tr>
			</table>
		</s:form>
		<s:form action="excelExport_worklog" method="post" namespace="/worklog">
			<table style="margin-left: 20%;margin-top: 3%">
				<tr>
					<th colspan="5 " align="left">
						根据时间导出日志
					</th>
				</tr>
				<tr>
					<td colspan="4">
						日期：
						<input id="start" class="Wdate" name="worklog.date" type="text"
							onFocus="WdatePicker({isShowWeek:true,maxDate:'#F{$dp.$D(\'end\')||\'2120-10-01\'}'})" />
						至
						<input id="end" class="Wdate" name="date" type="text"
							onFocus="WdatePicker({isShowWeek:true,minDate:'#F{$dp.$D(\'start\')}',maxDate:'2120-10-01'})" />

					</td>
					<td>
						<s:submit type="image" src="worklog/images/ico_file_excel.png"
							theme="simple" value="导出"></s:submit>
					</td>
				</tr>
			</table>
		</s:form>

	</body>
</html>
